export const items = ({ baseData }) => {
  return [
    {
      key: 'name',
      label: '名称',
      layoutCol: { sm: 24, md: 18, lg: 18 },
      rules: [{ required: true, message: '请输入' }],
      initialValue: baseData?.name
    },
    {
      key: 'isPublic',
      label: '是否设置为公共区域',
      type: 'switch',
      layoutCol: { sm: 24, md: 24, lg: 24 },
      rules: [{ required: true, message: '请输入' }],
      initialValue: baseData?.isPublic
    },
    {
      key: 'remark',
      label: '备注',
      type: 'textarea',
      layoutCol: { sm: 24, md: 24, lg: 24 },
      rules: [{ required: true, message: '请输入' }],
      initialValue: baseData?.remark
    }
    // {
    //   key: 'cameraIds',
    //   label: '摄像头',
    //   type: 'slot',
    //   layoutCol: { sm: 24, md: 24, lg: 24 }
    // }
  ]
}
